package vnc;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.swing.JPanel;

public class JPanelBottom extends JPanel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public void paintComponent(Graphics g){
		Graphics2D g2d = (Graphics2D)g;
		Dimension d = this.getSize();
		
		g2d.setPaint(new GradientPaint(0, 0, new Color(234, 234, 234), 0, d.height, new Color(216, 216, 216), true));
		g2d.fillRect(0, 0, d.width, d.height);
		
		g2d.setColor(new Color(142, 142, 142));
		g2d.drawLine(0, 0, d.width, 0);
		
		g2d.setColor(new Color(255, 255, 255));
		g2d.drawLine(0, 1, d.width, 1);
		
	}

}